﻿using HZU.ZP.Data.Models;
using System;
using System.Collections.Generic;
using System.Text;

namespace HZU.ZP.Data.Interfaces
{
    public interface ICommentDao
    {
        void Add(Comment comment);
        void Delete(int id);
        IList<Comment> GetByNoticeId(int noticeId, int pageIndex);
        IList<Comment> GetByCommentId(int commentId);
        int GetByNoticeCount(int noticeId);
    }
}
